import { Component, OnInit } from '@angular/core';
import FlowGraph from '../../graph/index'


@Component({
    selector: 'network-status',
    template: `
        <div class="network-status-container">
            <div id="container" class="graph-container"></div>
        </div>
    `,
    styleUrls: ['./index.less']
})

export class NetworkStatusComponent {

    ngOnInit(): void {
        FlowGraph.init()
    }

    ngAfterViewInit(): void {
        // const graphService = new GraphService ()
        // const flowGraph = new FlowGraph(graphService)
        
        
        // console.log(FlowGraph.graph.toJSON())
      }
}